//
//  MuiscDownLoadTsk.h
//  LM_DownLoadDemo
//
//  Created by lanou3g on 16/4/27.
//  Copyright © 2016年 liman. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ProgressBlock)(float progress);
typedef void(^CompleteBlock)(NSString *path);



@interface MuiscDownLoadTsk : NSObject
//url参数
- (void)downloadUrl:(NSURL *)url progressBlock:(ProgressBlock )proBlock complete:(CompleteBlock)comBlock;

//开始
- (void)resume;

//暂停
- (void)suspend;


//修改block
- (void)setProgressBlock:(ProgressBlock)proBlock;
- (void)setCompleteBlock:(CompleteBlock)comBlock;

@end
